home *** CD-ROM | disk | FTP | other *** search
/ Aminet 38 / Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso / Aminet / misc / math / libalgo.lha / algomath / libalgo.readme < prev    next >
Encoding:
Text File  |  2000-05-30  |  2.0 KB  |  78 lines

  1. Short: libalgo link library with source (PPC)
  2. Type: misc/math
  3. Uploader: info@ar-kleinert.de
  4. Author: Arnand Turpel, Patrick Dostert, Andreas R. Kleinert (port)
  5.  
  6.  *************************************************************************
  7.  
  8. Algomath- c Library   Release 1.0.5   03.2000
  9. -------------------   -------------   -------
  10.  
  11. Algomath is a portable Arithmetic C Library.
  12. All routines have been thoroughly optimised for speed and efficiency,
  13. while at the same time portable C. [...]
  14.  
  15. Download the latest release at:
  16. http://www2.vo.lu/homepages/armand/index.html
  17.  
  18. You are free to do anything you desire with this code,
  19. as long as you give credit where credit is due...
  20.  
  21. For criticism, fixes, suggestions, enhancements, send email to:
  22.  
  23. Armand Turpel: armandt@unforgettable.com
  24.  
  25. Patrick Dostert: patrick.dostert@cie.etat.lu
  26. who helped in optimizing this library
  27.  
  28. [...]
  29.  
  30. int am_init()
  31. void am_exit()
  32.  
  33. int am_numlength(int n)
  34. int am_sumdigits(int n)
  35. int am_sumdigitsalt(int n)
  36. int am_extract(int n, int x)
  37. int am_replace(int n, int d1, int d2)
  38. int am_swap(int n, int d1, int d2)
  39. int am_rotate(int n, int x, int p)
  40. int am_sort( int n)
  41.  
  42. int am_sumdivisor(int n)
  43. int am_gcd(int a, int b)
  44. int am_hailstone(int n)
  45.  
  46. int am_isprime(int n)
  47. int am_prime_ba(int t, int x)
  48. int *am_primes_array(int n, int x)
  49. int *am_primes_between(int n1, int n2, int *p)
  50. int *am_factorize(int n, int *factors)
  51. int am_goldbach(int n,int *d1, int *d2)
  52.  
  53. [...]
  54.  
  55.   Luxembourg, 11.1999,
  56.   Armand Turpel
  57.  
  58.  *************************************************************************
  59.  
  60.  The Amiga version only comes with makefile for PPC (and a precompiled libalgo.a)
  61.  plus a test program. However, it should be really simple to do a 68k version.
  62.  
  63.  The test program demonstrates
  64.  
  65.     "--'strong' Goldbach's Conjecture
  66.         The Conjecture is, "Every even integer >= 4 is the sum of
  67.         two primes.--"
  68.  
  69.  by performing am_goldbach on 16 by default. Alternatively one can
  70.  say
  71.  
  72.     test [number]
  73.  
  74.  which will work for even numbers and give an error for odd numbers...
  75.  
  76.  --
  77.  ARK, 30/May/2000
  78.